package com.lyj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("device_room_mapping")
public class DeviceRoomMapping {
    @TableId(type = IdType.AUTO)
    @TableField("mapping_id")
    private Integer mappingId;

    @TableField("device_id")
    private Integer deviceId;

    @TableField("room_id")
    private Integer roomId;
}